package net.huashitong.index.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_eco_indextarget")
public class IndexTargetEntity extends StringEntity {
    private String indexId;             //指标id
    private String targetValue;         //指标目标值
    private int    valueType;           //目标值类型，1 累计值，2 当前值，3 增长率  (默认累计值完成值)
    private String targetTime;          //目标时间
    private int    dateUnit;            //指标时间类型，1 月度，2 季度，3 年度
    private String indexState;          //指标状态 0 1
    private String source;              // 来源

    public String getIndexId() {
        return indexId;
    }

    public void setIndexId(String indexId) {
        this.indexId = indexId;
    }

    public String getTargetValue() {
        return targetValue;
    }

    public void setTargetValue(String targetValue) {
        this.targetValue = targetValue;
    }

    public String getTargetTime() {
        return targetTime;
    }

    public void setTargetTime(String targetTime) {
        this.targetTime = targetTime;
    }

    public int getDateUnit() {
        return dateUnit;
    }

    public void setDateUnit(int dateUnit) {
        this.dateUnit = dateUnit;
    }

    public String getIndexState() {
        return indexState;
    }

    public void setIndexState(String indexState) {
        this.indexState = indexState;
    }

    public int getValueType() {
        return valueType;
    }

    public void setValueType(int valueType) {
        this.valueType = valueType;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}
